<?php if(!defined('IN_PISCES')){exit('Access Denied.');}?>
<script>
var USER_ID = {if $this->data['user']}{$this->data['user']['id']}{else}0{/if};
</script>
<div id="site-nav" role="navigation"><div id="site-nav-bd">
        <p class="login-info">
    	{if $this->data['user']}
        亲，欢迎来回来！<a href="{url('User','Index')}" target="_self" style="color: #F30;">{$this->data['user']['username']}</a>!&nbsp;<a href="{url('User','ShareAdd')}" target="_self" style="color: #0099cc;">分享商品</a>&nbsp;<a href="{url('User','Logout')}">安全退出</a>
        {else}
        亲，欢迎来{$this->data['site']['site_name']}！请<a target="_top" href="{url('User','Login')}">使用淘宝账号一键登录</a>
        {/if}
    </p>

        <ul class="quick-menu">
        <li class="home"><a href="{$this->data['baseurl']}">首页</a></li>
       

<li class="service">
    <a href="{url('Default','Help')}">帮助中心</a>
</li>
   </ul>
</div></div>
{CategoryLevel $categoryId}
<div id="header">
        <div class="wow-hd">
	    <div class="wow-990 clearfix">
	        <div id="wow-logo"><a title="淘到宝了，推荐买到的超赞宝贝！" href="{$this->data['baseurl']}">哇哦！</a></div>
            <ul class="clearfix" id="wow-nav">
            {loop $pvCategoryLevel['topList'] $k $v}
			<li {if $pvCategoryLevel['first']==$v['id']}class="cur "{/if}>
			<a hidefoucs="true" href="{url('Default','List',array('c'=>$v['id']))}">{$v['name']}<b class="l-l ms"></b><b class="r-l ms"></b><b class="arrow ms"></b></a>
			</li>
			{/loop}		
            </ul>
            <div id="wow-top-search">
				<div class="top-search-bd">
					<form target="_top" name="search" action="{url('Default','List')}" method="get">
						<p class="ipt-bd">
							<input type="hidden" name="module" value="default" />
							<input type="hidden" name="action" value="list" />
							<input type="text" value="搜个宝贝看看..." onclick="if(this.value=='搜个宝贝看看...'){this.value='';}" onblur="if(this.value==''){this.value='搜个宝贝看看...';}" name="t" autocomplete="off">
						</p>
						<button type="submit">搜 索</button>
					</form>
				</div>
			</div>
	    </div>
	</div>
</div>